package com.ly.admin.listener;

import com.ass.nacos.listener.AbstractConfigFileListener;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
@Slf4j
public class NacosTestYmlConfigListener extends AbstractConfigFileListener {

    @Getter
    private String dataId = "test.yml";

    @Getter
    private String group = "DEFAULT_GROUP";

    @Override
    protected void handel(String configInfo) {
        log.info("nacos配置文件监听：{}",configInfo);
    }
}
